#ifndef GRAPHIC
#define GRAPHIC

#include "Shader11.h"
#include "RenderObject.h"
#include "xnamath.h"


class GraphicSystem
{
public :
	GraphicSystem();
	~GraphicSystem();
public :
	HRESULT Initialize(int wnd_w,int wnd_h,WCHAR* appname);
	HRESULT MultithreadRenderModeOn();
	HRESULT MultithreadRenderModeOff();
	void MainRender(ID3D11Device* pd3dDevice, ID3D11DeviceContext* pd3dImmediateContext, double fTime,float fElapsedTime);
private:
	Shader* m_pGlobalShader;
	RenderObjectList* m_pRenderObjectList;
	CFirstPersonCamera* m_pFirstPersonCamera;
	//XMVECTOR m_vector;
};



#endif